from ronglian_sms_sdk import SmsSDK
from user.models import User

accId = '8a216da8747ac98201749c0de38723b7'
accToken = '86072b540b4648229b27400414150ef2'
appId = '8a216da8747ac98201749c0de45123be'

def send_message(phone,datas):
    user=User.objects.all()[0]
    print(user.username,'*****/////')
    sdk=SmsSDK(accId,accToken,appId)
    # 测试模板id为: 1. 内容为: 【云通讯】您的验证码是{1}，请于{2}分钟内正确输⼊。
    tid='1'
    print("##########################################")
    print('执⾏了这个⽅法 send_message')
    return ''
